package com.impak.infoot.domain.foot

import javax.xml.bind.annotation.XmlAccessorType
import javax.xml.bind.annotation.XmlAccessType

/**
* @author nzouabi
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
class Season {
	
	String name
	
	Calendar startDate
	
	Calendar endDate
	
	static belongsTo = [league : League]
	
	static hasMany = [teams:Team]

    static constraints = {
    }
}
